package com.datang.pet.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TalkExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TalkExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andBgmIdIsNull() {
            addCriterion("bgm_id is null");
            return (Criteria) this;
        }

        public Criteria andBgmIdIsNotNull() {
            addCriterion("bgm_id is not null");
            return (Criteria) this;
        }

        public Criteria andBgmIdEqualTo(String value) {
            addCriterion("bgm_id =", value, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdNotEqualTo(String value) {
            addCriterion("bgm_id <>", value, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdGreaterThan(String value) {
            addCriterion("bgm_id >", value, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdGreaterThanOrEqualTo(String value) {
            addCriterion("bgm_id >=", value, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdLessThan(String value) {
            addCriterion("bgm_id <", value, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdLessThanOrEqualTo(String value) {
            addCriterion("bgm_id <=", value, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdLike(String value) {
            addCriterion("bgm_id like", value, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdNotLike(String value) {
            addCriterion("bgm_id not like", value, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdIn(List<String> values) {
            addCriterion("bgm_id in", values, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdNotIn(List<String> values) {
            addCriterion("bgm_id not in", values, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdBetween(String value1, String value2) {
            addCriterion("bgm_id between", value1, value2, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmIdNotBetween(String value1, String value2) {
            addCriterion("bgm_id not between", value1, value2, "bgmId");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorIsNull() {
            addCriterion("bgm_author is null");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorIsNotNull() {
            addCriterion("bgm_author is not null");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorEqualTo(String value) {
            addCriterion("bgm_author =", value, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorNotEqualTo(String value) {
            addCriterion("bgm_author <>", value, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorGreaterThan(String value) {
            addCriterion("bgm_author >", value, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorGreaterThanOrEqualTo(String value) {
            addCriterion("bgm_author >=", value, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorLessThan(String value) {
            addCriterion("bgm_author <", value, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorLessThanOrEqualTo(String value) {
            addCriterion("bgm_author <=", value, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorLike(String value) {
            addCriterion("bgm_author like", value, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorNotLike(String value) {
            addCriterion("bgm_author not like", value, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorIn(List<String> values) {
            addCriterion("bgm_author in", values, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorNotIn(List<String> values) {
            addCriterion("bgm_author not in", values, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorBetween(String value1, String value2) {
            addCriterion("bgm_author between", value1, value2, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmAuthorNotBetween(String value1, String value2) {
            addCriterion("bgm_author not between", value1, value2, "bgmAuthor");
            return (Criteria) this;
        }

        public Criteria andBgmNameIsNull() {
            addCriterion("bgm_name is null");
            return (Criteria) this;
        }

        public Criteria andBgmNameIsNotNull() {
            addCriterion("bgm_name is not null");
            return (Criteria) this;
        }

        public Criteria andBgmNameEqualTo(String value) {
            addCriterion("bgm_name =", value, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameNotEqualTo(String value) {
            addCriterion("bgm_name <>", value, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameGreaterThan(String value) {
            addCriterion("bgm_name >", value, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameGreaterThanOrEqualTo(String value) {
            addCriterion("bgm_name >=", value, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameLessThan(String value) {
            addCriterion("bgm_name <", value, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameLessThanOrEqualTo(String value) {
            addCriterion("bgm_name <=", value, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameLike(String value) {
            addCriterion("bgm_name like", value, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameNotLike(String value) {
            addCriterion("bgm_name not like", value, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameIn(List<String> values) {
            addCriterion("bgm_name in", values, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameNotIn(List<String> values) {
            addCriterion("bgm_name not in", values, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameBetween(String value1, String value2) {
            addCriterion("bgm_name between", value1, value2, "bgmName");
            return (Criteria) this;
        }

        public Criteria andBgmNameNotBetween(String value1, String value2) {
            addCriterion("bgm_name not between", value1, value2, "bgmName");
            return (Criteria) this;
        }

        public Criteria andLabelIsNull() {
            addCriterion("label is null");
            return (Criteria) this;
        }

        public Criteria andLabelIsNotNull() {
            addCriterion("label is not null");
            return (Criteria) this;
        }

        public Criteria andLabelEqualTo(String value) {
            addCriterion("label =", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotEqualTo(String value) {
            addCriterion("label <>", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThan(String value) {
            addCriterion("label >", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThanOrEqualTo(String value) {
            addCriterion("label >=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThan(String value) {
            addCriterion("label <", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThanOrEqualTo(String value) {
            addCriterion("label <=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLike(String value) {
            addCriterion("label like", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotLike(String value) {
            addCriterion("label not like", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelIn(List<String> values) {
            addCriterion("label in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotIn(List<String> values) {
            addCriterion("label not in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelBetween(String value1, String value2) {
            addCriterion("label between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotBetween(String value1, String value2) {
            addCriterion("label not between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andTalkTypeIsNull() {
            addCriterion("talk_type is null");
            return (Criteria) this;
        }

        public Criteria andTalkTypeIsNotNull() {
            addCriterion("talk_type is not null");
            return (Criteria) this;
        }

        public Criteria andTalkTypeEqualTo(String value) {
            addCriterion("talk_type =", value, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeNotEqualTo(String value) {
            addCriterion("talk_type <>", value, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeGreaterThan(String value) {
            addCriterion("talk_type >", value, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeGreaterThanOrEqualTo(String value) {
            addCriterion("talk_type >=", value, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeLessThan(String value) {
            addCriterion("talk_type <", value, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeLessThanOrEqualTo(String value) {
            addCriterion("talk_type <=", value, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeLike(String value) {
            addCriterion("talk_type like", value, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeNotLike(String value) {
            addCriterion("talk_type not like", value, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeIn(List<String> values) {
            addCriterion("talk_type in", values, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeNotIn(List<String> values) {
            addCriterion("talk_type not in", values, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeBetween(String value1, String value2) {
            addCriterion("talk_type between", value1, value2, "talkType");
            return (Criteria) this;
        }

        public Criteria andTalkTypeNotBetween(String value1, String value2) {
            addCriterion("talk_type not between", value1, value2, "talkType");
            return (Criteria) this;
        }

        public Criteria andResourceIdIsNull() {
            addCriterion("resource_id is null");
            return (Criteria) this;
        }

        public Criteria andResourceIdIsNotNull() {
            addCriterion("resource_id is not null");
            return (Criteria) this;
        }

        public Criteria andResourceIdEqualTo(String value) {
            addCriterion("resource_id =", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotEqualTo(String value) {
            addCriterion("resource_id <>", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdGreaterThan(String value) {
            addCriterion("resource_id >", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdGreaterThanOrEqualTo(String value) {
            addCriterion("resource_id >=", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLessThan(String value) {
            addCriterion("resource_id <", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLessThanOrEqualTo(String value) {
            addCriterion("resource_id <=", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdLike(String value) {
            addCriterion("resource_id like", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotLike(String value) {
            addCriterion("resource_id not like", value, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdIn(List<String> values) {
            addCriterion("resource_id in", values, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotIn(List<String> values) {
            addCriterion("resource_id not in", values, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdBetween(String value1, String value2) {
            addCriterion("resource_id between", value1, value2, "resourceId");
            return (Criteria) this;
        }

        public Criteria andResourceIdNotBetween(String value1, String value2) {
            addCriterion("resource_id not between", value1, value2, "resourceId");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeIsNull() {
            addCriterion("talk_describe is null");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeIsNotNull() {
            addCriterion("talk_describe is not null");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeEqualTo(String value) {
            addCriterion("talk_describe =", value, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeNotEqualTo(String value) {
            addCriterion("talk_describe <>", value, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeGreaterThan(String value) {
            addCriterion("talk_describe >", value, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("talk_describe >=", value, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeLessThan(String value) {
            addCriterion("talk_describe <", value, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeLessThanOrEqualTo(String value) {
            addCriterion("talk_describe <=", value, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeLike(String value) {
            addCriterion("talk_describe like", value, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeNotLike(String value) {
            addCriterion("talk_describe not like", value, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeIn(List<String> values) {
            addCriterion("talk_describe in", values, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeNotIn(List<String> values) {
            addCriterion("talk_describe not in", values, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeBetween(String value1, String value2) {
            addCriterion("talk_describe between", value1, value2, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDescribeNotBetween(String value1, String value2) {
            addCriterion("talk_describe not between", value1, value2, "talkDescribe");
            return (Criteria) this;
        }

        public Criteria andTalkDateIsNull() {
            addCriterion("talk_date is null");
            return (Criteria) this;
        }

        public Criteria andTalkDateIsNotNull() {
            addCriterion("talk_date is not null");
            return (Criteria) this;
        }

        public Criteria andTalkDateEqualTo(Date value) {
            addCriterion("talk_date =", value, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateNotEqualTo(Date value) {
            addCriterion("talk_date <>", value, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateGreaterThan(Date value) {
            addCriterion("talk_date >", value, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateGreaterThanOrEqualTo(Date value) {
            addCriterion("talk_date >=", value, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateLessThan(Date value) {
            addCriterion("talk_date <", value, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateLessThanOrEqualTo(Date value) {
            addCriterion("talk_date <=", value, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateIn(List<Date> values) {
            addCriterion("talk_date in", values, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateNotIn(List<Date> values) {
            addCriterion("talk_date not in", values, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateBetween(Date value1, Date value2) {
            addCriterion("talk_date between", value1, value2, "talkDate");
            return (Criteria) this;
        }

        public Criteria andTalkDateNotBetween(Date value1, Date value2) {
            addCriterion("talk_date not between", value1, value2, "talkDate");
            return (Criteria) this;
        }

        public Criteria andBanIsNull() {
            addCriterion("ban is null");
            return (Criteria) this;
        }

        public Criteria andBanIsNotNull() {
            addCriterion("ban is not null");
            return (Criteria) this;
        }

        public Criteria andBanEqualTo(String value) {
            addCriterion("ban =", value, "ban");
            return (Criteria) this;
        }

        public Criteria andBanNotEqualTo(String value) {
            addCriterion("ban <>", value, "ban");
            return (Criteria) this;
        }

        public Criteria andBanGreaterThan(String value) {
            addCriterion("ban >", value, "ban");
            return (Criteria) this;
        }

        public Criteria andBanGreaterThanOrEqualTo(String value) {
            addCriterion("ban >=", value, "ban");
            return (Criteria) this;
        }

        public Criteria andBanLessThan(String value) {
            addCriterion("ban <", value, "ban");
            return (Criteria) this;
        }

        public Criteria andBanLessThanOrEqualTo(String value) {
            addCriterion("ban <=", value, "ban");
            return (Criteria) this;
        }

        public Criteria andBanLike(String value) {
            addCriterion("ban like", value, "ban");
            return (Criteria) this;
        }

        public Criteria andBanNotLike(String value) {
            addCriterion("ban not like", value, "ban");
            return (Criteria) this;
        }

        public Criteria andBanIn(List<String> values) {
            addCriterion("ban in", values, "ban");
            return (Criteria) this;
        }

        public Criteria andBanNotIn(List<String> values) {
            addCriterion("ban not in", values, "ban");
            return (Criteria) this;
        }

        public Criteria andBanBetween(String value1, String value2) {
            addCriterion("ban between", value1, value2, "ban");
            return (Criteria) this;
        }

        public Criteria andBanNotBetween(String value1, String value2) {
            addCriterion("ban not between", value1, value2, "ban");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityIsNull() {
            addCriterion("like_quantity is null");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityIsNotNull() {
            addCriterion("like_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityEqualTo(Integer value) {
            addCriterion("like_quantity =", value, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityNotEqualTo(Integer value) {
            addCriterion("like_quantity <>", value, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityGreaterThan(Integer value) {
            addCriterion("like_quantity >", value, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("like_quantity >=", value, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityLessThan(Integer value) {
            addCriterion("like_quantity <", value, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("like_quantity <=", value, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityIn(List<Integer> values) {
            addCriterion("like_quantity in", values, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityNotIn(List<Integer> values) {
            addCriterion("like_quantity not in", values, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityBetween(Integer value1, Integer value2) {
            addCriterion("like_quantity between", value1, value2, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andLikeQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("like_quantity not between", value1, value2, "likeQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityIsNull() {
            addCriterion("comment_quantity is null");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityIsNotNull() {
            addCriterion("comment_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityEqualTo(Integer value) {
            addCriterion("comment_quantity =", value, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityNotEqualTo(Integer value) {
            addCriterion("comment_quantity <>", value, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityGreaterThan(Integer value) {
            addCriterion("comment_quantity >", value, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("comment_quantity >=", value, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityLessThan(Integer value) {
            addCriterion("comment_quantity <", value, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("comment_quantity <=", value, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityIn(List<Integer> values) {
            addCriterion("comment_quantity in", values, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityNotIn(List<Integer> values) {
            addCriterion("comment_quantity not in", values, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityBetween(Integer value1, Integer value2) {
            addCriterion("comment_quantity between", value1, value2, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andCommentQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("comment_quantity not between", value1, value2, "commentQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityIsNull() {
            addCriterion("complanin_quantity is null");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityIsNotNull() {
            addCriterion("complanin_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityEqualTo(Integer value) {
            addCriterion("complanin_quantity =", value, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityNotEqualTo(Integer value) {
            addCriterion("complanin_quantity <>", value, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityGreaterThan(Integer value) {
            addCriterion("complanin_quantity >", value, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("complanin_quantity >=", value, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityLessThan(Integer value) {
            addCriterion("complanin_quantity <", value, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("complanin_quantity <=", value, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityIn(List<Integer> values) {
            addCriterion("complanin_quantity in", values, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityNotIn(List<Integer> values) {
            addCriterion("complanin_quantity not in", values, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityBetween(Integer value1, Integer value2) {
            addCriterion("complanin_quantity between", value1, value2, "complaninQuantity");
            return (Criteria) this;
        }

        public Criteria andComplaninQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("complanin_quantity not between", value1, value2, "complaninQuantity");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}